const $btn = document.querySelector('input');

$btn.onclick = () => {
  fetch('http://192.168.239.166:8080/api/authors/?page=1&limit=10')
  .then(res => res.json())
  .then(res => console.log(res))
}
